package com.pyh.myframe

import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import com.pyh.libray.log.PLog
import com.pyh.myframe.databinding.ActivityLogBinding

class LogDemoActive : AppCompatActivity() {

    private lateinit var binding: ActivityLogBinding

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding = ActivityLogBinding.inflate(layoutInflater)
        setContentView(binding.root)
        initListener()
    }

    private fun initListener(){
        binding.run {
            helloLog.setOnClickListener {
                PLog.vt("vt","9994")
                PLog.i("9995")
                PLog.d("9996")
                PLog.w("9997")
                PLog.e("9998")
                PLog.a("9999")
//                Log.e("log","9998")
            }
        }
    }

}